<?php /*a:4:{s:61:"F:\project\study\tp5.1\app\console\view\admin\con_powers.html";i:1566378249;s:71:"F:\project\study\tp5.1\app\console\view\public\layer_new_page_base.html";i:1567993742;s:59:"F:\project\study\tp5.1\app\console\view\public\mylocal.html";i:1567993729;s:69:"F:\project\study\tp5.1\app\console\view\public\table_form_header.html";i:1567993717;}*/ ?>
﻿<!DOCTYPE html>
<html lang="en" class="app">
<head>
    <meta charset="utf-8"/>
    <title><?php echo config('domain_config.console_name'); ?></title>
    <meta name="description" content="<?php echo config('domain_config.console_name'); ?>"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
    <link rel="stylesheet" href="/static/console/css/app.v2.css" type="text/css" cache="true"/>
    <link rel="stylesheet" href="/static/console/js/calendar/bootstrap_calendar.css" type="text/css" cache="true"/>
    <link rel="stylesheet" href="/static/console/fonts/font-awesome.min.css" cache="true">
    <link rel="stylesheet" href="/static/console/js/fuelux/fuelux.css" type="text/css" cache="true"/>
    <!-- <link rel="stylesheet" href="/static/console/js/datepicker/datepicker.css" type="text/css" cache="true" /> -->

    <!--[if lt IE 9]>
    <script src="/static/console/js/ie/html5shiv.js" cache="true"></script>
    <script src="/static/console/js/ie/respond.min.js" cache="true"></script>
    <script src="/static/console/js/ie/excanvas.js" cache="true"></script> <![endif]-->

</head>
<body>
<section class="vbox">

    <section>
        <section class="hbox stretch"> <!-- .aside -->
            <!-- /.aside -->

            
<!-- /.aside -->
<section id="content">
    <section class="vbox">
        <section class="scrollable padder">
            ﻿<ul class="breadcrumb no-border no-radius b-b b-light pull-in" style="margin-top: -17px;display: block;">
    <li>
        <a href="javascript:void(0);">
            <i class="fa fa-home"></i> 控制台
        </a>
    </li>
    <?php if(is_array($topbar) || $topbar instanceof \think\Collection || $topbar instanceof \think\Paginator): $i = 0; $__LIST__ = $topbar;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
    <li class="active">
        <a href="javascript:void(0);">
            <?php echo htmlentities($vo); ?>
        </a>
    </li>
    <?php endforeach; endif; else: echo "" ;endif; ?>
</ul>

            <section class="panel panel-default">
                ﻿<header class="panel-heading font-bold" style="margin-top: -17px;">
    数据表单 &nbsp;&nbsp;&nbsp;&nbsp;
    <i class="fa fa-refresh text-primary text  refresh" title="刷新" style="cursor:pointer;"></i>
</header>

                <div class="panel-body">
                    <form id="ajaxform_close" class="form-horizontal" method="post">
                        <?php if(is_array($console_menu) || $console_menu instanceof \think\Collection || $console_menu instanceof \think\Paginator): if( count($console_menu)==0 ) : echo "" ;else: foreach($console_menu as $vi=>$vo): ?>
                        <div style="width: 95%;padding-left: 5%;min-height: 120px;padding-bottom:6px">
                            <?php echo htmlentities($vo['menu']); ?>
                            <input type="checkbox" name="pws[]"  value="<?php echo htmlentities($vi); ?>"  > <?php if($id == '0'): ?> <?php echo htmlentities($vi); ?> <?php endif; if(isset($vo['son_menu'])): ?>
                            <ul style="width: 85%;list-style-type: none">
                                <?php if(is_array($vo['son_menu']) || $vo['son_menu'] instanceof \think\Collection || $vo['son_menu'] instanceof \think\Paginator): if( count($vo['son_menu'])==0 ) : echo "" ;else: foreach($vo['son_menu'] as $soi=>$so): ?>
                                <li  style="clear: both;margin-top: 15px;">
                                    <?php echo htmlentities($so['menu']); ?>
                                    <input type="checkbox" name="pws[]"  value="<?php echo htmlentities($vi); ?>_<?php echo htmlentities($soi); ?>" > <?php if($id == '0'): ?> <?php echo htmlentities($vi); ?>_<?php echo htmlentities($soi); ?> <?php endif; ?>

                                    <!-- 子菜单下有孙菜单 -->
                                    <?php if(isset($so['sun_menu'])): ?>
                                    <ul style="width: 85%;list-style-type: none">
                                        <?php if(is_array($so['sun_menu']) || $so['sun_menu'] instanceof \think\Collection || $so['sun_menu'] instanceof \think\Paginator): if( count($so['sun_menu'])==0 ) : echo "" ;else: foreach($so['sun_menu'] as $sui=>$su): ?>
                                        <li style="clear: both;">
                                            <?php echo htmlentities($su['menu']); ?>
                                            <input type="checkbox" name="pws[]"  value="<?php echo htmlentities($vi); ?>_<?php echo htmlentities($soi); ?>_<?php echo htmlentities($sui); ?>"> <?php if($id == '0'): ?> <?php echo htmlentities($vi); ?>_<?php echo htmlentities($soi); ?>_<?php echo htmlentities($sui); ?> <?php endif; ?>
                                        </li>

                                        <!-- 孙菜单下操作 -->
                                        <?php if(isset($su['handle'])): ?>
                                        <ul style="width: 85%;list-style-type: none;">
                                      
                                            <?php if(is_array($su['handle']) || $su['handle'] instanceof \think\Collection || $su['handle'] instanceof \think\Paginator): if( count($su['handle'])==0 ) : echo "" ;else: foreach($su['handle'] as $key=>$suho): ?>
                                            <li style="float: left;margin-right: 15px;">
                                                <?php echo htmlentities($suho['action']); ?>
                                                <input type="checkbox" name="pws[]"  value="<?php echo htmlentities($vi); ?>_<?php echo htmlentities($soi); ?>_<?php echo htmlentities($sui); ?>_<?php echo htmlentities($key); ?>"> <?php if($id == '0'): ?> <?php echo htmlentities($vi); ?>_<?php echo htmlentities($soi); ?>_<?php echo htmlentities($sui); ?>_<?php echo htmlentities($key); ?> <?php endif; ?>
                                            </li>
                                            <?php endforeach; endif; else: echo "" ;endif; ?>
                                        </ul>
                                        <?php endif; ?>

                                        <?php endforeach; endif; else: echo "" ;endif; ?>

                                    </ul>
                                    <?php endif; ?>

                                    <!-- 子菜单下直接是操作 -->
                                    <?php if(isset($so['handle'])): ?>
                                    <ul style="width: 85%;list-style-type: none;">
                                        <?php if(is_array($so['handle']) || $so['handle'] instanceof \think\Collection || $so['handle'] instanceof \think\Paginator): if( count($so['handle'])==0 ) : echo "" ;else: foreach($so['handle'] as $key=>$ho): ?>
                                        <li style="float: left;margin-right: 15px;">
                                            <?php echo htmlentities($ho['action']); ?>
                                            <input type="checkbox" name="pws[]"  value="<?php echo htmlentities($vi); ?>_<?php echo htmlentities($soi); ?>_<?php echo htmlentities($key); ?>" > <?php if($id == '0'): ?> <?php echo htmlentities($vi); ?>_<?php echo htmlentities($soi); ?>_<?php echo htmlentities($key); ?> <?php endif; ?>
                                        </li>
                                        <?php endforeach; endif; else: echo "" ;endif; ?>
                            
                                    </ul>
                                    <?php endif; ?>
                                </li>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </ul>
                            <?php endif; ?>
                        </div>
                        <div class="line line-dashed line-lg pull-in"></div>
                        <?php endforeach; endif; else: echo "" ;endif; ?>

                        <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-2">
                                <input type="hidden" name="id" value="<?php echo htmlentities($id); ?>" readonly required>
                                <button type="reset"  class="btn btn-default" style="padding:6px 12px;font-size: 14px;">重 置</button>
                                <button type="submit" class="btn btn-primary" style="padding:6px 12px;font-size: 14px;">保 存</button>
                            </div>
                        </div>
                    </form>
                </div>
            </section>
        </section>
    </section>
</section>
<script type="text/javascript" src="/static/common/js/jquery.min.js"></script>        
<script type="text/javascript">
    var powers_arr = <?php echo $admin_powers; ?>;
    $("input[name='pws[]']").each(function(){
        var  val = $(this).val();
        if( $.inArray(val,powers_arr) != -1 ){
            $(this).prop('checked','checked');
          }
    });

</script>


            <a href="#" class="hide nav-off-screen-block" data-toggle="class:nav-off-screen" data-target="#nav"></a>
        </section>
        <aside class="bg-light lter b-l aside-md hide" id="notes">
            <div class="wrapper">Notification</div>
        </aside>
    </section>
</section>
</section>


<!-- <script type="text/javascript" src="/static/console/js/suport.js"></script> -->


<!-- Bootstrap --> <!-- App -->
<!-- <script src="/static/console/js/charts/easypiechart/jquery.easy-pie-chart.js" cache="true"></script> 
<script src="/static/console/js/charts/sparkline/jquery.sparkline.min.js" cache="true"></script>  -->
<!-- <script src="/static/console/js/charts/flot/jquery.flot.min.js" cache="true"></script>  -->
<!-- <script src="/static/console/js/charts/flot/jquery.flot.tooltip.min.js" cache="true"></script> 
<script src="/static/console/js/charts/flot/jquery.flot.resize.js" cache="true"></script> 
<script src="/static/console/js/charts/flot/jquery.flot.grow.js" cache="true"></script>  -->
<!-- <script src="/static/console/js/charts/flot/demo.js" cache="true"></script>  -->
<!-- <script src="/static/console/js/calendar/bootstrap_calendar.js" cache="true"></script>  -->
<!-- <script src="/static/console/js/calendar/demo.js" cache="true"></script>  -->
<!-- <script src="/static/console/js/sortable/jquery.sortable.js" cache="true"></script> -->
</body>
</html>

<script type="text/javascript" src="/static/common/js/jquery.min.js"></script>
<script type="text/javascript" src="/static/common/js/jquery.form.js"></script>
<script type="text/javascript" src="/static/common/layer/layer.js"></script>
<script type="text/javascript" src="/static/common/js/suport.js"></script>
<script type="text/javascript" src="/static/console/js/suport.js"></script>
<link rel="stylesheet" href="/static/console/css/suport.css" type="text/css" cache="true"/>


<script src="/static/console/js/fuelux/fuelux.js" cache="true"></script>
<!-- datepicker -->
<script src="/static/console/js/datepicker/bootstrap-datepicker.js" cache="true"></script>
<!-- slider -->
<script src="/static/console/js/slider/bootstrap-slider.js" cache="true"></script>
<!-- file input -->
<script src="/static/console/js/file-input/bootstrap-filestyle.min.js" cache="true"></script>
<!-- combodate -->
<script src="/static/console/js/libs/moment.min.js" cache="true"></script>
<script src="/static/console/js/combodate/combodate.js" cache="true"></script>
<!-- select2 -->
<script src="/static/console/js/select2/select2.min.js" cache="true"></script>
<!-- wysiwyg -->
<script src="/static/console/js/wysiwyg/jquery.hotkeys.js" cache="true"></script>
<script src="/static/console/js/wysiwyg/bootstrap-wysiwyg.js" cache="true"></script>
<!-- <script src="/static/console/js/wysiwyg/demo.js" cache="true"></script> -->
<!-- markdown -->
                             